import {getLatestAccident} from  "@/api/accidenthandle/accident"
const actions = {
    getId(context,value){
        context.commit("getId",value);
    }
}
const mutations = {
    getId(state,value){
        if(state.accindentId==-1){
            state.accindentId = value;
        }
    }
}
const state = {
    //初始化的事件id
    accindentId : -1
}

export default {
  state,
  mutations,
  actions
}
